@layout("/common/_curd/_container.html"){

	<form data-url="${basePath}/${code}/update" method="post" class="form-horizontal" role="form">
		<!-- 表单 -->
		@ var _table="mall_goods";
		@ var _key="id";
		@ var _col=[
		@			  {name:"标题", index:"title", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"封面图", index:"cover", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"批次", index:"pi_num", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"进货价", index:"price_buy", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"销售价", index:"price_sale", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"购进数量", index:"buy_num", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"销量", index:"sale_num", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"库存", index:"kucun", type:"text",newline:true,length:8},
		@			  {name:"捐助金额", index:"juanzhu", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"轮播图(顶部)", index:"banner_top", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"固定图片4张", index:"pics_middle", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"中间轮播图片", index:"banner_middle", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"内容", index:"content", type:"ueditor",newline:true,length:8,required:"required"}
		@		   ];
		@ include("/common/_curd/_edit.html", {"col":_col, "table":_table, "key":_key}){}
		
		<!-- 按钮 -->
		@ include("/common/_curd/_btn.html", {btn_save:"修改", btn_close:"关闭"}) {}
	</form>

@}